package com.ruoyi.business.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.persistence.*;

import lombok.NoArgsConstructor;
import org.hibernate.annotations.GenericGenerator;

/**
 * Inventory对象 Inventory
 *
 * @author liutietou
 * @since 1.0 2025-06-22
 */
@Entity
@Table(name = "inventory")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Inventory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**  */
    @Id
    @Column(name="cinvcode")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private String cinvcode;

    /**  */
    @Excel(name = "")
    @Column(name="cinvname")
    private String cinvname;

    /**  */
    @Excel(name = "")
    @Column(name="cinvstd")
     private String cinvstd;

    /**  */
    @Excel(name = "")
    @Column(name="cinvccode")
    private String cinvccode;


    @Excel(name = "")
    @Column(name="ccomunitcode")
    private String ccomunitcode;

    private BigDecimal  itaxrate;

    public  Inventory(String cinvcode){
            this.cinvcode=cinvcode;
    }
}
